package com.geese.module.wechat.service;

import com.geese.common.entity.Courier;
import com.geese.common.entity.WithdrawAccount;
import com.geese.common.vo.Page;
import com.geese.module.user.model.SecurityUser;
import com.geese.module.wechat.dto.WithdrawAccountDTO;
import com.geese.module.wechat.vo.CourierOrderVO;

import java.util.List;
import java.util.Map;

/**
 * Created by huweiwei on 2017/3/9.
 */
public interface IWaiterService {

    void doRegister(Courier courier, String password);

    Map<String,Object> showOrder(int orderId);

    void doOrders(int orderId, SecurityUser user);

    Map<String,Object> courierInfo(SecurityUser user);

    Map<String,Object> orderList(CourierOrderVO courierOrderVO, SecurityUser user);

    Map<String,Object> orderDetails(int orderId);

    void doCash(SecurityUser user, int id);

    Map<String,Object> orderShow(int orderCode);

    void doComplete(SecurityUser user, int orderId);

    void addAccount(WithdrawAccount withdrawAccount);

    void editAccount(WithdrawAccount withdrawAccount);

    void deleteAccount(int id);

    List<WithdrawAccountDTO> listAccount(Integer userId);

    Map<String,Object> getCashList(SecurityUser user, Page page);

    Map<String,Object> amount(SecurityUser loginUser);
}
